package com.yh.mapper;

import com.yh.entity.SysRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 角色 角色表 Mapper 接口
 * </p>
 *
 * @author yh
 * @since 2021-04-06
 */
public interface SysRoleMapper extends BaseMapper<SysRole> {
    List<String> roles(@Param("userId")Long userId);
}
